package com.bluegalaxy.sitescore.service.impl;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.bluegalaxy.sitescore.entity.TbDangerous;
import com.bluegalaxy.sitescore.mapper.TbDangerousMapper;
import com.bluegalaxy.sitescore.service.ITbDangerousService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TbDangerousServiceImpl implements ITbDangerousService {

    @Autowired
    private TbDangerousMapper tbDangerousMapper;


    @Override
    public List<TbDangerous> getDangerousAll() {
        return tbDangerousMapper.getDangerousAll();
    }

    @Override
    public List<TbDangerous> getDangerousSelected(int sid) {
        return tbDangerousMapper.getDangerousSelected(sid);
    }

    @Override
    public List<TbDangerous> getDangerousSelected2(int sid) {
        return tbDangerousMapper.getDangerousSelected2(sid);
    }
}
